package com.seecen.service;

import com.seecen.pojo.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seecen.utils.Result;

/**
* @author 桃子
* @description 针对表【user_address】的数据库操作Service
* @createDate 2025-07-24 16:44:18
*/
public interface UserAddressService extends IService<UserAddress> {

    Result selectAllAddress();

    Result insertAddress(UserAddress userAddress);

    Result deleteAddress(Integer id);

    Result updateAddress(UserAddress userAddress);

    Result selectByUid(Integer userId);

    Result selectByid(Integer id);

    Result setDefaultAddressById(Integer id);
}
